package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.List;


/**
 * The persistent class for the STAFF database table.
 * 
 */
@Entity
@NamedQuery(name="Staff.findAll", query="SELECT s FROM Staff s")
public class Staff implements Serializable {
	public Staff(String staffId, String staffname) {
		super();
		this.staffId = staffId;
		this.staffname = staffname;
	}

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="STAFF_ID")
	private String staffId;

	private BigDecimal age;

	private String detail;

	@Column(name="ID_CARD")
	private String idCard;

	private String sex;

	private String staffname;

	private String status;

	//bi-directional many-to-one association to Charge
	@OneToMany(mappedBy="staff")
	private List<Charge> charges;

	//bi-directional many-to-one association to DrugstorageBuymedcineDetail
	@OneToMany(mappedBy="staff")
	private List<DrugstorageBuymedcineDetail> drugstorageBuymedcineDetails;

	//bi-directional many-to-one association to DrugstorageDemage
	@OneToMany(mappedBy="staff")
	private List<DrugstorageDemage> drugstorageDemages;

	//bi-directional many-to-one association to DrugstorageGetdrugsDetail
	@OneToMany(mappedBy="staff")
	private List<DrugstorageGetdrugsDetail> drugstorageGetdrugsDetails;

	//bi-directional many-to-one association to DrugstorageLackDrug
	@OneToMany(mappedBy="staff")
	private List<DrugstorageLackDrug> drugstorageLackDrugs;

	//bi-directional many-to-one association to DrugstorageReminddrug
	@OneToMany(mappedBy="staff1")
	private List<DrugstorageReminddrug> drugstorageReminddrugs1;

	//bi-directional many-to-one association to DrugstorageReminddrug
	@OneToMany(mappedBy="staff2")
	private List<DrugstorageReminddrug> drugstorageReminddrugs2;

	//bi-directional many-to-one association to DrugstoreDemage
	@OneToMany(mappedBy="staff")
	private List<DrugstoreDemage> drugstoreDemages;

	//bi-directional many-to-one association to EmerArrange
	@OneToMany(mappedBy="staff")
	private List<EmerArrange> emerArranges;

	//bi-directional many-to-one association to HospEmerRegistration
	@OneToMany(mappedBy="staff")
	private List<HospEmerRegistration> hospEmerRegistrations;

	//bi-directional many-to-one association to HospEmerWaitDoctor
	@OneToMany(mappedBy="staff")
	private List<HospEmerWaitDoctor> hospEmerWaitDoctors;

	//bi-directional many-to-one association to HospPatientRegistration
	@OneToMany(mappedBy="staff")
	private List<HospPatientRegistration> hospPatientRegistrations;

	//bi-directional many-to-one association to HospUser
	@OneToMany(mappedBy="staff")
	private List<HospUser> hospUsers;

	//bi-directional many-to-one association to InErxCharge
	@OneToMany(mappedBy="staff")
	private List<InErxCharge> inErxCharges;

	//bi-directional many-to-one association to LiveinrecordTable
	@OneToMany(mappedBy="staff")
	private List<LiveinrecordTable> liveinrecordTables;

	//bi-directional many-to-one association to LiveArrange
	@OneToMany(mappedBy="staff")
	private List<LiveArrange> liveArranges;

	//bi-directional many-to-one association to LoginHistory
	@OneToMany(mappedBy="staff")
	private List<LoginHistory> loginHistories;

	//bi-directional many-to-one association to Medcinestore
	@OneToMany(mappedBy="staff")
	private List<Medcinestore> medcinestores;

	//bi-directional many-to-one association to MedcinestoreAcceptdrug
	@OneToMany(mappedBy="staff")
	private List<MedcinestoreAcceptdrug> medcinestoreAcceptdrugs;

	//bi-directional many-to-one association to MedcinestoreLackDrug
	@OneToMany(mappedBy="staff")
	private List<MedcinestoreLackDrug> medcinestoreLackDrugs;

	//bi-directional many-to-one association to MedcinestoreRemind
	@OneToMany(mappedBy="staff")
	private List<MedcinestoreRemind> medcinestoreReminds;

	//bi-directional many-to-one association to MedcinestoreSendmedcine
	@OneToMany(mappedBy="staff")
	private List<MedcinestoreSendmedcine> medcinestoreSendmedcines;

	/*//bi-directional many-to-one association to OutErxCharge
	@OneToMany(mappedBy="staff")
	private List<OutErxCharge> outErxCharges;*/

	//bi-directional many-to-one association to PatientArrange
	@OneToMany(mappedBy="staff")
	private List<PatientArrange> patientArranges;

	//bi-directional many-to-one association to SendmedcineDrugstoreDetail
	@OneToMany(mappedBy="staff")
	private List<SendmedcineDrugstoreDetail> sendmedcineDrugstoreDetails;

	//bi-directional many-to-one association to StaffType
	@ManyToOne
	@JoinColumn(name="STAFF_TYPE_ID")
	private StaffType staffType;

	//bi-directional many-to-one association to StockTakingId
	@OneToMany(mappedBy="staff")
	private List<StockTakingId> stockTakingIds;

	//bi-directional many-to-one association to StorageWithdrawelDetail
	@OneToMany(mappedBy="staff")
	private List<StorageWithdrawelDetail> storageWithdrawelDetails;

	//bi-directional many-to-one association to Supplier
	@OneToMany(mappedBy="staff")
	private List<Supplier> suppliers;

	//bi-directional many-to-many association to NurseTitle
	@ManyToMany
	@JoinTable(
		name="RELATIONSHIP_150"
		, joinColumns={
			@JoinColumn(name="STAFF_ID")
			}
		, inverseJoinColumns={
			@JoinColumn(name="NURSE_TITLE_ID")
			}
		)
	private List<NurseTitle> nurseTitles;

	//bi-directional many-to-many association to DoctorTitle
	@ManyToMany
	@JoinTable(
		name="RELATIONSHIP_151"
		, joinColumns={
			@JoinColumn(name="STAFF_ID")
			}
		, inverseJoinColumns={
			@JoinColumn(name="DOCTOR_TITLE_ID")
			}
		)
	private List<DoctorTitle> doctorTitles;

	//bi-directional many-to-many association to SmallOffice
	@ManyToMany
	@JoinTable(
		name="RELATIONSHIP_152"
		, joinColumns={
			@JoinColumn(name="STAFF_ID")
			}
		, inverseJoinColumns={
			@JoinColumn(name="SMALL_OFFICE_ID")
			}
		)
	private List<SmallOffice> smallOffices;

	public Staff() {
	}

	public String getStaffId() {
		return this.staffId;
	}

	public void setStaffId(String staffId) {
		this.staffId = staffId;
	}

	public BigDecimal getAge() {
		return this.age;
	}

	public void setAge(BigDecimal age) {
		this.age = age;
	}

	public String getDetail() {
		return this.detail;
	}

	public void setDetail(String detail) {
		this.detail = detail;
	}

	public String getIdCard() {
		return this.idCard;
	}

	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getStaffname() {
		return this.staffname;
	}

	public void setStaffname(String staffname) {
		this.staffname = staffname;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public List<Charge> getCharges() {
		return this.charges;
	}

	public void setCharges(List<Charge> charges) {
		this.charges = charges;
	}

	public Charge addCharge(Charge charge) {
		getCharges().add(charge);
		charge.setStaff(this);

		return charge;
	}

	public Charge removeCharge(Charge charge) {
		getCharges().remove(charge);
		charge.setStaff(null);

		return charge;
	}

	public List<DrugstorageBuymedcineDetail> getDrugstorageBuymedcineDetails() {
		return this.drugstorageBuymedcineDetails;
	}

	public void setDrugstorageBuymedcineDetails(List<DrugstorageBuymedcineDetail> drugstorageBuymedcineDetails) {
		this.drugstorageBuymedcineDetails = drugstorageBuymedcineDetails;
	}

	public DrugstorageBuymedcineDetail addDrugstorageBuymedcineDetail(DrugstorageBuymedcineDetail drugstorageBuymedcineDetail) {
		getDrugstorageBuymedcineDetails().add(drugstorageBuymedcineDetail);
		drugstorageBuymedcineDetail.setStaff(this);

		return drugstorageBuymedcineDetail;
	}

	public DrugstorageBuymedcineDetail removeDrugstorageBuymedcineDetail(DrugstorageBuymedcineDetail drugstorageBuymedcineDetail) {
		getDrugstorageBuymedcineDetails().remove(drugstorageBuymedcineDetail);
		drugstorageBuymedcineDetail.setStaff(null);

		return drugstorageBuymedcineDetail;
	}

	public List<DrugstorageDemage> getDrugstorageDemages() {
		return this.drugstorageDemages;
	}

	public void setDrugstorageDemages(List<DrugstorageDemage> drugstorageDemages) {
		this.drugstorageDemages = drugstorageDemages;
	}

	public DrugstorageDemage addDrugstorageDemage(DrugstorageDemage drugstorageDemage) {
		getDrugstorageDemages().add(drugstorageDemage);
		drugstorageDemage.setStaff(this);

		return drugstorageDemage;
	}

	public DrugstorageDemage removeDrugstorageDemage(DrugstorageDemage drugstorageDemage) {
		getDrugstorageDemages().remove(drugstorageDemage);
		drugstorageDemage.setStaff(null);

		return drugstorageDemage;
	}

	public List<DrugstorageGetdrugsDetail> getDrugstorageGetdrugsDetails() {
		return this.drugstorageGetdrugsDetails;
	}

	public void setDrugstorageGetdrugsDetails(List<DrugstorageGetdrugsDetail> drugstorageGetdrugsDetails) {
		this.drugstorageGetdrugsDetails = drugstorageGetdrugsDetails;
	}

	public DrugstorageGetdrugsDetail addDrugstorageGetdrugsDetail(DrugstorageGetdrugsDetail drugstorageGetdrugsDetail) {
		getDrugstorageGetdrugsDetails().add(drugstorageGetdrugsDetail);
		drugstorageGetdrugsDetail.setStaff(this);

		return drugstorageGetdrugsDetail;
	}

	public DrugstorageGetdrugsDetail removeDrugstorageGetdrugsDetail(DrugstorageGetdrugsDetail drugstorageGetdrugsDetail) {
		getDrugstorageGetdrugsDetails().remove(drugstorageGetdrugsDetail);
		drugstorageGetdrugsDetail.setStaff(null);

		return drugstorageGetdrugsDetail;
	}

	public List<DrugstorageLackDrug> getDrugstorageLackDrugs() {
		return this.drugstorageLackDrugs;
	}

	public void setDrugstorageLackDrugs(List<DrugstorageLackDrug> drugstorageLackDrugs) {
		this.drugstorageLackDrugs = drugstorageLackDrugs;
	}

	public DrugstorageLackDrug addDrugstorageLackDrug(DrugstorageLackDrug drugstorageLackDrug) {
		getDrugstorageLackDrugs().add(drugstorageLackDrug);
		drugstorageLackDrug.setStaff(this);

		return drugstorageLackDrug;
	}

	public DrugstorageLackDrug removeDrugstorageLackDrug(DrugstorageLackDrug drugstorageLackDrug) {
		getDrugstorageLackDrugs().remove(drugstorageLackDrug);
		drugstorageLackDrug.setStaff(null);

		return drugstorageLackDrug;
	}

	public List<DrugstorageReminddrug> getDrugstorageReminddrugs1() {
		return this.drugstorageReminddrugs1;
	}

	public void setDrugstorageReminddrugs1(List<DrugstorageReminddrug> drugstorageReminddrugs1) {
		this.drugstorageReminddrugs1 = drugstorageReminddrugs1;
	}

	public DrugstorageReminddrug addDrugstorageReminddrugs1(DrugstorageReminddrug drugstorageReminddrugs1) {
		getDrugstorageReminddrugs1().add(drugstorageReminddrugs1);
		drugstorageReminddrugs1.setStaff1(this);

		return drugstorageReminddrugs1;
	}

	public DrugstorageReminddrug removeDrugstorageReminddrugs1(DrugstorageReminddrug drugstorageReminddrugs1) {
		getDrugstorageReminddrugs1().remove(drugstorageReminddrugs1);
		drugstorageReminddrugs1.setStaff1(null);

		return drugstorageReminddrugs1;
	}

	public List<DrugstorageReminddrug> getDrugstorageReminddrugs2() {
		return this.drugstorageReminddrugs2;
	}

	public void setDrugstorageReminddrugs2(List<DrugstorageReminddrug> drugstorageReminddrugs2) {
		this.drugstorageReminddrugs2 = drugstorageReminddrugs2;
	}

	public DrugstorageReminddrug addDrugstorageReminddrugs2(DrugstorageReminddrug drugstorageReminddrugs2) {
		getDrugstorageReminddrugs2().add(drugstorageReminddrugs2);
		drugstorageReminddrugs2.setStaff2(this);

		return drugstorageReminddrugs2;
	}

	public DrugstorageReminddrug removeDrugstorageReminddrugs2(DrugstorageReminddrug drugstorageReminddrugs2) {
		getDrugstorageReminddrugs2().remove(drugstorageReminddrugs2);
		drugstorageReminddrugs2.setStaff2(null);

		return drugstorageReminddrugs2;
	}

	public List<DrugstoreDemage> getDrugstoreDemages() {
		return this.drugstoreDemages;
	}

	public void setDrugstoreDemages(List<DrugstoreDemage> drugstoreDemages) {
		this.drugstoreDemages = drugstoreDemages;
	}

	public DrugstoreDemage addDrugstoreDemage(DrugstoreDemage drugstoreDemage) {
		getDrugstoreDemages().add(drugstoreDemage);
		drugstoreDemage.setStaff(this);

		return drugstoreDemage;
	}

	public DrugstoreDemage removeDrugstoreDemage(DrugstoreDemage drugstoreDemage) {
		getDrugstoreDemages().remove(drugstoreDemage);
		drugstoreDemage.setStaff(null);

		return drugstoreDemage;
	}

	public List<EmerArrange> getEmerArranges() {
		return this.emerArranges;
	}

	public void setEmerArranges(List<EmerArrange> emerArranges) {
		this.emerArranges = emerArranges;
	}

	public EmerArrange addEmerArrange(EmerArrange emerArrange) {
		getEmerArranges().add(emerArrange);
		emerArrange.setStaff(this);

		return emerArrange;
	}

	public EmerArrange removeEmerArrange(EmerArrange emerArrange) {
		getEmerArranges().remove(emerArrange);
		emerArrange.setStaff(null);

		return emerArrange;
	}

	public List<HospEmerRegistration> getHospEmerRegistrations() {
		return this.hospEmerRegistrations;
	}

	public void setHospEmerRegistrations(List<HospEmerRegistration> hospEmerRegistrations) {
		this.hospEmerRegistrations = hospEmerRegistrations;
	}

	public HospEmerRegistration addHospEmerRegistration(HospEmerRegistration hospEmerRegistration) {
		getHospEmerRegistrations().add(hospEmerRegistration);
		hospEmerRegistration.setStaff(this);

		return hospEmerRegistration;
	}

	public HospEmerRegistration removeHospEmerRegistration(HospEmerRegistration hospEmerRegistration) {
		getHospEmerRegistrations().remove(hospEmerRegistration);
		hospEmerRegistration.setStaff(null);

		return hospEmerRegistration;
	}

	public List<HospEmerWaitDoctor> getHospEmerWaitDoctors() {
		return this.hospEmerWaitDoctors;
	}

	public void setHospEmerWaitDoctors(List<HospEmerWaitDoctor> hospEmerWaitDoctors) {
		this.hospEmerWaitDoctors = hospEmerWaitDoctors;
	}

	public HospEmerWaitDoctor addHospEmerWaitDoctor(HospEmerWaitDoctor hospEmerWaitDoctor) {
		getHospEmerWaitDoctors().add(hospEmerWaitDoctor);
		hospEmerWaitDoctor.setStaff(this);

		return hospEmerWaitDoctor;
	}

	public HospEmerWaitDoctor removeHospEmerWaitDoctor(HospEmerWaitDoctor hospEmerWaitDoctor) {
		getHospEmerWaitDoctors().remove(hospEmerWaitDoctor);
		hospEmerWaitDoctor.setStaff(null);

		return hospEmerWaitDoctor;
	}

	public List<HospPatientRegistration> getHospPatientRegistrations() {
		return this.hospPatientRegistrations;
	}

	public void setHospPatientRegistrations(List<HospPatientRegistration> hospPatientRegistrations) {
		this.hospPatientRegistrations = hospPatientRegistrations;
	}

	public HospPatientRegistration addHospPatientRegistration(HospPatientRegistration hospPatientRegistration) {
		getHospPatientRegistrations().add(hospPatientRegistration);
		hospPatientRegistration.setStaff(this);

		return hospPatientRegistration;
	}

	public HospPatientRegistration removeHospPatientRegistration(HospPatientRegistration hospPatientRegistration) {
		getHospPatientRegistrations().remove(hospPatientRegistration);
		hospPatientRegistration.setStaff(null);

		return hospPatientRegistration;
	}

	public List<HospUser> getHospUsers() {
		return this.hospUsers;
	}

	public void setHospUsers(List<HospUser> hospUsers) {
		this.hospUsers = hospUsers;
	}

	public HospUser addHospUser(HospUser hospUser) {
		getHospUsers().add(hospUser);
		hospUser.setStaff(this);

		return hospUser;
	}

	public HospUser removeHospUser(HospUser hospUser) {
		getHospUsers().remove(hospUser);
		hospUser.setStaff(null);

		return hospUser;
	}

	public List<InErxCharge> getInErxCharges() {
		return this.inErxCharges;
	}

	public void setInErxCharges(List<InErxCharge> inErxCharges) {
		this.inErxCharges = inErxCharges;
	}

	public InErxCharge addInErxCharge(InErxCharge inErxCharge) {
		getInErxCharges().add(inErxCharge);
		inErxCharge.setStaff(this);

		return inErxCharge;
	}

	public InErxCharge removeInErxCharge(InErxCharge inErxCharge) {
		getInErxCharges().remove(inErxCharge);
		inErxCharge.setStaff(null);

		return inErxCharge;
	}

	public List<LiveinrecordTable> getLiveinrecordTables() {
		return this.liveinrecordTables;
	}

	public void setLiveinrecordTables(List<LiveinrecordTable> liveinrecordTables) {
		this.liveinrecordTables = liveinrecordTables;
	}

	public LiveinrecordTable addLiveinrecordTable(LiveinrecordTable liveinrecordTable) {
		getLiveinrecordTables().add(liveinrecordTable);
		liveinrecordTable.setStaff(this);

		return liveinrecordTable;
	}

	public LiveinrecordTable removeLiveinrecordTable(LiveinrecordTable liveinrecordTable) {
		getLiveinrecordTables().remove(liveinrecordTable);
		liveinrecordTable.setStaff(null);

		return liveinrecordTable;
	}

	public List<LiveArrange> getLiveArranges() {
		return this.liveArranges;
	}

	public void setLiveArranges(List<LiveArrange> liveArranges) {
		this.liveArranges = liveArranges;
	}

	public LiveArrange addLiveArrange(LiveArrange liveArrange) {
		getLiveArranges().add(liveArrange);
		liveArrange.setStaff(this);

		return liveArrange;
	}

	public LiveArrange removeLiveArrange(LiveArrange liveArrange) {
		getLiveArranges().remove(liveArrange);
		liveArrange.setStaff(null);

		return liveArrange;
	}

	public List<LoginHistory> getLoginHistories() {
		return this.loginHistories;
	}

	public void setLoginHistories(List<LoginHistory> loginHistories) {
		this.loginHistories = loginHistories;
	}

	public LoginHistory addLoginHistory(LoginHistory loginHistory) {
		getLoginHistories().add(loginHistory);
		loginHistory.setStaff(this);

		return loginHistory;
	}

	public LoginHistory removeLoginHistory(LoginHistory loginHistory) {
		getLoginHistories().remove(loginHistory);
		loginHistory.setStaff(null);

		return loginHistory;
	}

	public List<Medcinestore> getMedcinestores() {
		return this.medcinestores;
	}

	public void setMedcinestores(List<Medcinestore> medcinestores) {
		this.medcinestores = medcinestores;
	}

	public Medcinestore addMedcinestore(Medcinestore medcinestore) {
		getMedcinestores().add(medcinestore);
		medcinestore.setStaff(this);

		return medcinestore;
	}

	public Medcinestore removeMedcinestore(Medcinestore medcinestore) {
		getMedcinestores().remove(medcinestore);
		medcinestore.setStaff(null);

		return medcinestore;
	}

	public List<MedcinestoreAcceptdrug> getMedcinestoreAcceptdrugs() {
		return this.medcinestoreAcceptdrugs;
	}

	public void setMedcinestoreAcceptdrugs(List<MedcinestoreAcceptdrug> medcinestoreAcceptdrugs) {
		this.medcinestoreAcceptdrugs = medcinestoreAcceptdrugs;
	}

	public MedcinestoreAcceptdrug addMedcinestoreAcceptdrug(MedcinestoreAcceptdrug medcinestoreAcceptdrug) {
		getMedcinestoreAcceptdrugs().add(medcinestoreAcceptdrug);
		medcinestoreAcceptdrug.setStaff(this);

		return medcinestoreAcceptdrug;
	}

	public MedcinestoreAcceptdrug removeMedcinestoreAcceptdrug(MedcinestoreAcceptdrug medcinestoreAcceptdrug) {
		getMedcinestoreAcceptdrugs().remove(medcinestoreAcceptdrug);
		medcinestoreAcceptdrug.setStaff(null);

		return medcinestoreAcceptdrug;
	}

	public List<MedcinestoreLackDrug> getMedcinestoreLackDrugs() {
		return this.medcinestoreLackDrugs;
	}

	public void setMedcinestoreLackDrugs(List<MedcinestoreLackDrug> medcinestoreLackDrugs) {
		this.medcinestoreLackDrugs = medcinestoreLackDrugs;
	}

	public MedcinestoreLackDrug addMedcinestoreLackDrug(MedcinestoreLackDrug medcinestoreLackDrug) {
		getMedcinestoreLackDrugs().add(medcinestoreLackDrug);
		medcinestoreLackDrug.setStaff(this);

		return medcinestoreLackDrug;
	}

	public MedcinestoreLackDrug removeMedcinestoreLackDrug(MedcinestoreLackDrug medcinestoreLackDrug) {
		getMedcinestoreLackDrugs().remove(medcinestoreLackDrug);
		medcinestoreLackDrug.setStaff(null);

		return medcinestoreLackDrug;
	}

	public List<MedcinestoreRemind> getMedcinestoreReminds() {
		return this.medcinestoreReminds;
	}

	public void setMedcinestoreReminds(List<MedcinestoreRemind> medcinestoreReminds) {
		this.medcinestoreReminds = medcinestoreReminds;
	}

	public MedcinestoreRemind addMedcinestoreRemind(MedcinestoreRemind medcinestoreRemind) {
		getMedcinestoreReminds().add(medcinestoreRemind);
		medcinestoreRemind.setStaff(this);

		return medcinestoreRemind;
	}

	public MedcinestoreRemind removeMedcinestoreRemind(MedcinestoreRemind medcinestoreRemind) {
		getMedcinestoreReminds().remove(medcinestoreRemind);
		medcinestoreRemind.setStaff(null);

		return medcinestoreRemind;
	}

	public List<MedcinestoreSendmedcine> getMedcinestoreSendmedcines() {
		return this.medcinestoreSendmedcines;
	}

	public void setMedcinestoreSendmedcines(List<MedcinestoreSendmedcine> medcinestoreSendmedcines) {
		this.medcinestoreSendmedcines = medcinestoreSendmedcines;
	}

	public MedcinestoreSendmedcine addMedcinestoreSendmedcine(MedcinestoreSendmedcine medcinestoreSendmedcine) {
		getMedcinestoreSendmedcines().add(medcinestoreSendmedcine);
		medcinestoreSendmedcine.setStaff(this);

		return medcinestoreSendmedcine;
	}

	public MedcinestoreSendmedcine removeMedcinestoreSendmedcine(MedcinestoreSendmedcine medcinestoreSendmedcine) {
		getMedcinestoreSendmedcines().remove(medcinestoreSendmedcine);
		medcinestoreSendmedcine.setStaff(null);

		return medcinestoreSendmedcine;
	}

	/*public List<OutErxCharge> getOutErxCharges() {
		return this.outErxCharges;
	}

	public void setOutErxCharges(List<OutErxCharge> outErxCharges) {
		this.outErxCharges = outErxCharges;
	}

	public OutErxCharge addOutErxCharge(OutErxCharge outErxCharge) {
		getOutErxCharges().add(outErxCharge);
		outErxCharge.setStaff(this);

		return outErxCharge;
	}

	public OutErxCharge removeOutErxCharge(OutErxCharge outErxCharge) {
		getOutErxCharges().remove(outErxCharge);
		outErxCharge.setStaff(null);

		return outErxCharge;
	}*/

	public List<PatientArrange> getPatientArranges() {
		return this.patientArranges;
	}

	public void setPatientArranges(List<PatientArrange> patientArranges) {
		this.patientArranges = patientArranges;
	}

	public PatientArrange addPatientArrange(PatientArrange patientArrange) {
		getPatientArranges().add(patientArrange);
		patientArrange.setStaff(this);

		return patientArrange;
	}

	public PatientArrange removePatientArrange(PatientArrange patientArrange) {
		getPatientArranges().remove(patientArrange);
		patientArrange.setStaff(null);

		return patientArrange;
	}

	public List<SendmedcineDrugstoreDetail> getSendmedcineDrugstoreDetails() {
		return this.sendmedcineDrugstoreDetails;
	}

	public void setSendmedcineDrugstoreDetails(List<SendmedcineDrugstoreDetail> sendmedcineDrugstoreDetails) {
		this.sendmedcineDrugstoreDetails = sendmedcineDrugstoreDetails;
	}

	public SendmedcineDrugstoreDetail addSendmedcineDrugstoreDetail(SendmedcineDrugstoreDetail sendmedcineDrugstoreDetail) {
		getSendmedcineDrugstoreDetails().add(sendmedcineDrugstoreDetail);
		sendmedcineDrugstoreDetail.setStaff(this);

		return sendmedcineDrugstoreDetail;
	}

	public SendmedcineDrugstoreDetail removeSendmedcineDrugstoreDetail(SendmedcineDrugstoreDetail sendmedcineDrugstoreDetail) {
		getSendmedcineDrugstoreDetails().remove(sendmedcineDrugstoreDetail);
		sendmedcineDrugstoreDetail.setStaff(null);

		return sendmedcineDrugstoreDetail;
	}

	public StaffType getStaffType() {
		return this.staffType;
	}

	public void setStaffType(StaffType staffType) {
		this.staffType = staffType;
	}

	public List<StockTakingId> getStockTakingIds() {
		return this.stockTakingIds;
	}

	public void setStockTakingIds(List<StockTakingId> stockTakingIds) {
		this.stockTakingIds = stockTakingIds;
	}

	public StockTakingId addStockTakingId(StockTakingId stockTakingId) {
		getStockTakingIds().add(stockTakingId);
		stockTakingId.setStaff(this);

		return stockTakingId;
	}

	public StockTakingId removeStockTakingId(StockTakingId stockTakingId) {
		getStockTakingIds().remove(stockTakingId);
		stockTakingId.setStaff(null);

		return stockTakingId;
	}

	public List<StorageWithdrawelDetail> getStorageWithdrawelDetails() {
		return this.storageWithdrawelDetails;
	}

	public void setStorageWithdrawelDetails(List<StorageWithdrawelDetail> storageWithdrawelDetails) {
		this.storageWithdrawelDetails = storageWithdrawelDetails;
	}

	public StorageWithdrawelDetail addStorageWithdrawelDetail(StorageWithdrawelDetail storageWithdrawelDetail) {
		getStorageWithdrawelDetails().add(storageWithdrawelDetail);
		storageWithdrawelDetail.setStaff(this);

		return storageWithdrawelDetail;
	}

	public StorageWithdrawelDetail removeStorageWithdrawelDetail(StorageWithdrawelDetail storageWithdrawelDetail) {
		getStorageWithdrawelDetails().remove(storageWithdrawelDetail);
		storageWithdrawelDetail.setStaff(null);

		return storageWithdrawelDetail;
	}

	public List<Supplier> getSuppliers() {
		return this.suppliers;
	}

	public void setSuppliers(List<Supplier> suppliers) {
		this.suppliers = suppliers;
	}

	public Supplier addSupplier(Supplier supplier) {
		getSuppliers().add(supplier);
		supplier.setStaff(this);

		return supplier;
	}

	public Supplier removeSupplier(Supplier supplier) {
		getSuppliers().remove(supplier);
		supplier.setStaff(null);

		return supplier;
	}

	public List<NurseTitle> getNurseTitles() {
		return this.nurseTitles;
	}

	public void setNurseTitles(List<NurseTitle> nurseTitles) {
		this.nurseTitles = nurseTitles;
	}

	public List<DoctorTitle> getDoctorTitles() {
		return this.doctorTitles;
	}

	public void setDoctorTitles(List<DoctorTitle> doctorTitles) {
		this.doctorTitles = doctorTitles;
	}

	public List<SmallOffice> getSmallOffices() {
		return this.smallOffices;
	}

	public void setSmallOffices(List<SmallOffice> smallOffices) {
		this.smallOffices = smallOffices;
	}

}